#2D1C80

Color Details

HEX
#2D1C80
RGB
rgb(45, 28, 128)
HSL
hsl(250, 64%, 31%)
CMYK
cmyk(65%, 78%, 0%, 50%)
Best text on this color #FFFFFF (CR 13.21:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #2D1C80 swatch

Embed this swatch

Use this HTML on your site (free with a link):

Open image

About #2D1C80

#2D1C80 converts to RGB(45, 28, 128) and HSL(250, 64%, 31%). This page provides quick readability checks, related hues (complementary and analogous), and ready-made palettes so you can drop the color into UI components, images, or CSS immediately.

Tip: Use the “Best text” chip above as a safe default foreground on this color (chosen by contrast ratio).

#2D1C80 FAQs

What is the RGB value of #2D1C80?
RGB: 45, 28, 128. Copy as CSS: rgb(45, 28, 128)
Is #2D1C80 a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #2D1C80?
Complement: #71821c.
Does #2D1C80 have good contrast on white or black?
On white: 13.21:1 (AAA (normal text)). On black: 1.59:1 (Fails AA).